home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 026a / db3procs.zip / README.1ST < prev    next >
Text File  |  1991-02-18  |  3KB  |  63 lines

  1. The programs in this ZIP file are intended to demonstrate a
  2. number of useful procedures I developed while creating a program
  3. to capture receiving inspection data.  I am offering these
  4. procedures to the public domain in the hopes that they will
  5. prove helpful for others.  I have made no changes to these
  6. procedures from the form I used them in.  Most could be modified
  7. to behave in a more general fashion.  The functions that these
  8. procedures provide are:
  9.  
  10.         menu            Display a pop up menu with 1-20 choices.
  11.                         Allow the user to choose an option with
  12.                         either the cursor keys or by pressing a
  13.                         letter/number option.  Menu options, 
  14.                         position, colors, size are stred in a
  15.                         database.
  16.                         
  17.         errormsg        Displays a centered message on line 24 of 
  18.                         the screen in yellow on red and waits for 
  19.                         a key press.
  20.  
  21.         title           Displays a centered title in yellow on
  22.                         the top line of the display.
  23.  
  24.         blankmenu       Blanks the last menu displayed.
  25.         
  26.         clrwindow       Clears a window (rectangular area) on
  27.                         the screen.
  28.  
  29.         dispinst        Displays instructions on line 23 of the screen
  30.                         using the same colors as the last menu.
  31.                         
  32.         picklist        Displays a list of items from the
  33.                         currently selected database and allows
  34.                         the user to choose from them.  The items
  35.                         displayed can be any string expression.
  36.                         
  37. The files included are:
  38.  
  39.         main.prg        Explains each procedure and gives a demonstration.
  40.                         The code may be examined as an example
  41.                         of how to use the procedures.
  42.  
  43.         procs.prg       Code for procedures and also for
  44.                         demonstration routines.         
  45.  
  46.         menu.dbf        Database that contains menu information.
  47.         menuscrn.ndx    Menu.dbf is indexed on field menuscrn.
  48.         
  49.         sample.dbf      Sample database and index are used to demonstrate
  50.         sample.ndx      the picklist function.
  51.         
  52.         readme.1st      This file.
  53.         
  54.  
  55. I hope these routines prove useful or instructive.  The
  56. procedure that was most critical for me was the picklist
  57. function which allowed me to force choices to those already
  58. existing in a database and to allow the user to point and choose
  59. instead of entering complex key fields.
  60.  
  61. If you have any questions or comments you can direct them
  62. through the Ashton-Tate bulletin board to username Kaufman, or
  63. you can contact me at my workplace at (219) 423-2552 x3379.